<?
    header('content-type:text/html;charset="utf-8') ;
    
    $localhost = 'localhost';
    $dBUser = 'root';
    $dBPassword = 'root';
    $dBName = 'shopcar';
    $link = mysqli_connect( $localhost , $dBUser , $dBPassword , $dBName );

    if(!$link) {
        die('数据库连接失败');
    }
?>